<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" src="__AIMG__/profile_small.jpg" /></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear">
	                        <span class="block m-t-xs"> <strong class="font-bold"><?php echo $_SESSION['ADMIN_AUTH_KEY_USERNAME'];?></strong></span> 
                            <span class="text-muted text-xs block"><?php echo $_SESSION['ADMIN_AUTH_KEY_REALNAME'];?><b class="caret"></b></span>
                        </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                    	<li><a href="javascript:void(0)" onclick="modifyPwd()">修改密码</a></li>
                        <li><a href="<{:U('Login/logout')}>">安全退出</a></li>
                    </ul>
                </div>
                <div class="logo-element"><{:getFields('left_menu_title')}>
                </div>
            </li>
            
            <li>
                <a class="J_menuItem" href="<{:U('Index/main')}>"> <i class="fa fa-home"></i> <span class="nav-label">首页</span></a>
            </li>
			<foreach item="menuList" name="menuList">
				<li>
				<a href="#"><i class="<{$menuList.menuclass}>"></i> <span class="nav-label"><{$menuList.title}></span> <span class="fa arrow"></span></a>
				<!-- 遍历主子菜单 -->
				<ul class="nav nav-second-level">
					<volist id="subMenu" name="menuList['subMenu']">
						<li<?php if($subMenu['url'] == (MODULE_NAME.'/'.ACTION_NAME)){ echo 'class="active" id="subMenu"'; } ?> >
							<a class="J_menuItem" href="__ROOT__/<{$subMenu.module}>/<{$subMenu.url}>"><{$subMenu.title}></a>
						</li>
					</volist>
				</ul>
			</foreach>
        </ul>
    </div>
</nav>